import React,{ Component } from 'react';
import './index.css';

class Book extends Component{
  render(h) {
    return(
        <div className='book_list'>
          <img src={this.props.src} alt={this.props.title} />
          <p>销量:{this.props.sales}</p>
          <p className='title'>{this.props.title}</p>
        </div>
    )
  }
}

export default Book;